#ifndef MYSLIDER_H
#define MYSLIDER_H

#include <QWidget>
#include<QSlider>
#include <QMouseEvent>
class MySlider : public QSlider
{
    Q_OBJECT
public:
    explicit MySlider(QWidget *parent = 0);

protected:
    virtual void mouseReleaseEvent(QMouseEvent * ev); // 重写鼠标释放事件
signals:
    void changeValue(int value); // 数值变更信号
public slots:
};

#endif // MYSLIDER_H
